authenticate
Authenticate a user with their email and password. This logs the user in by validating their credentials against Firebase.
Parameters
email
The email address of the user.
password
The password associated with the user's email.
on Result
The callback function to handle the result of the authentication. It receives an optional Throwable indicating the error, if any.